package sctu.edu.java.year2016.team01.xuhanmei.day20160524.practice4;

/**
 * Created by Administrator on 2016/5/24.
 */
public class Stringbuild {
    public static void main(String[] args) {
        String s="good";
        StringBuilder builder=new StringBuilder();//字符串生成器
        builder.append(s);//append方法不仅可以实现，还可以实现其他类型的追加
        System.out.println("追加后的字符串是："+builder);
    }
}
